# v1.6.0

# 基准测试

+ 使用[sofaload](https://github.com/antJack/sofaload)在本地搭建简单的性能测试

## v1.6.0测试结果

```Bash
sofaload -D 10 --qps=2000 -c 200 -t 16 -p sofarpc sofarpc://127.0.0.1:12200
starting benchmark...
Application protocol: sofarpc

finished in 10.00s, 2000.00 req/s, 2.41MB/s
requests: 20000 total, 20000 started, 20000 done, 20000 succeeded, 0 failed, 0 errored, 0 timeout
sofaRPC status codes: 
	20000 success, 0 error, 0 server exception, 0 unknown
	0 server threadpool busy, 0 error comm, 0 no processor, 0 timeout
	0 client send error, 0 codec exception, 0 connection closed, 0 server serial exception
	0 server deserial exception
traffic: 24.11MB (25280000) total, 390.63KB (400000) headers (space savings 0.00%), 23.73MB (24880000) data
                     min         max         mean         sd        +/- sd
time for request:      124us      7.06ms       257us       265us    96.71%
time for connect:        4us       101us        20us        19us    93.50%
req/s           :       9.50       10.60       10.00        0.41    78.50%

  Latency  Distribution
   50%        203us
   75%        266us
   90%        367us
   95%        457us
   99%       1.19ms
```

## v1.5.0测试结果

```Bash
sofaload -D 10 --qps=2000 -c 200 -t 16 -p sofarpc sofarpc://127.0.0.1:12200
starting benchmark...
Application protocol: sofarpc

finished in 10.00s, 1999.90 req/s, 2.41MB/s
requests: 20000 total, 20006 started, 19999 done, 19999 succeeded, 0 failed, 0 errored, 0 timeout
sofaRPC status codes: 
	19999 success, 0 error, 0 server exception, 0 unknown
	0 server threadpool busy, 0 error comm, 0 no processor, 0 timeout
	0 client send error, 0 codec exception, 0 connection closed, 0 server serial exception
	0 server deserial exception
traffic: 24.11MB (25278736) total, 390.61KB (399980) headers (space savings 0.00%), 23.73MB (24878756) data
                     min         max         mean         sd        +/- sd
time for request:      140us     14.09ms       288us       393us    97.61%
time for connect:        4us       104us        19us        20us    93.50%
req/s           :       9.50       10.60       10.00        0.41    78.00%

  Latency  Distribution
   50%        222us
   75%        298us
   90%        419us
   95%        526us
   99%       1.15ms
```
